package cn.tedu.pet.passport.service;


import cn.tedu.pet.passport.pojo.param.PermissionAddNewParam;
import cn.tedu.pet.passport.pojo.param.PermissionUpdateInfoParam;
import cn.tedu.pet.passport.pojo.vo.PageData;
import cn.tedu.pet.passport.pojo.vo.PermissionListItemVO;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface IPermissionService {
    PageData<PermissionListItemVO> list(Integer page);
    PageData<PermissionListItemVO> list(Integer pageNum,Integer pageSize);

    void addNew(PermissionAddNewParam permissionAddNewParam);
    void deleteById(Long PermissionId);
    void updateInfoById(Long id, PermissionUpdateInfoParam permissionUpdateInfoParam);

    PageData<PermissionListItemVO> getListById(Long id);

    PermissionListItemVO getStandardById(Long Id);
}
